package com.syni.mdd.sjb.common.datatreaure.service;

import com.syni.mdd.sjb.common.component.utils.feign.dto.mddAll.apiUser.GetIdentifyingCodeDto;
import com.syni.mdd.sjb.common.datatreaure.entity.vo.rq.BaseRqVo;
import com.syni.mdd.sjb.common.datatreaure.entity.vo.rq.user.*;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cfx
 * @since 2020-04-20
 */
public interface UserService {

    Map<String, Object> register(RegisterVo registerVo);

    Map<String, Object> register_v2(RegisterVo registerVo);

    Map<String, Object> login(LoginVo loginVo);

    Map<String, Object> forget(ForgetVo forgetVo);

    Map<String, Object> getIdentifyingCode(GetIdentifyingCodeDto getIdentifyingCodeDto);

    Map<String,Object> saveUserInfo(SaveUserInfoVo saveUserInfoVo);

    Map<String, Object> modifyPwd(ModifyPwdVo modifyPwdVo);

    Map<String, Object> getOneTimeToken(BaseRqVo baseRqVo);

    String getAccountIdByUserMap(Integer userId);

    Integer getUserIdByAccountIdMap(String accountId);
}
